package com.framework.admin.service;

import com.framework.admin.model.SysMenu;
import com.framework.common.vo.TreeNode;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface IMenuService {
    Page<SysMenu> getMenusList(SysMenu menu, Pageable pageable);

    List<TreeNode<SysMenu>> getMenuTree(String type);

    String save(SysMenu menu);

    void createBtnMenu(String id);

    void delete(List<String> ids);

    SysMenu getByCode(SysMenu menu);
}
